<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>多重转换</title>
    <style>
        div {
            width: 1000px;
            border: 1px solid #000;
            margin: 100px auto;
        }

        img {
            width: 150px;
            transition: all 5s;
        }

        /* 多重转换:先位移再旋转,中间用空格分隔 */
        div:hover img {
            /* transform: translate(850px) rotate(360deg); */
            transform: rotate(360deg) translate(850px);
        }
    </style>
</head>

<body>
    <div>
        <img src="./img/tyre1.png" alt="">
    </div>
</body>

</html>